/* 
 * Copyright (C), 2016-2020, 厦门盈欣宝金融信息服务有限公司
 * Project Name :boot-parent
 * File Name: org.easytouseit.bootprop.config
 * Encoding UTF-8 
 * Version: 1.0 
 * Date: 2018-07-18 17:58
 * History:  
 * 1. Date: 2018-07-18
 *    Author: guojm 
 *    Modification: 新建
 * 2. ...
 */
package org.easytouseit.bootprop.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.Email;

/**
 * @author guojm
 * @version V1.0
 * @date 2018-07-18
 */
@Component
@ConfigurationProperties(prefix = "blog")
public class CustomizeProp {

    private String name;

    private String author;
    private String massage;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getMassage() {
        return massage;
    }

    public void setMassage(String massage) {
        this.massage = massage;
    }

    @Override
    public String toString() {
        return "CustomizeProp{" +
                "name='" + name + '\'' +
                ", author='" + author + '\'' +
                ", massage='" + massage + '\'' +
                '}';
    }
}
